from django.urls import path, include
from rest_framework.routers import SimpleRouter
from . import views


router = SimpleRouter()
router.register("", views.UserView, "login")
router.register("", views.SendSmsView, "send")
router.register("register", views.RegisterView, 'register')

urlpatterns = [
    path("", include(router.urls))
]
